PHPR API (3.7.0)

Download OpenAPI specification:

PHPR API USING API-PLATFORM

product_product_components

Retrieves a product_product_components resource.

Retrieves a product_product_components resource.

Authorizations:
JWT
path Parameters
id
required
string

product_product_components identifier

Responses

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "shortcode": "AAC",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "product": {
    },
  • "component": {
    },
  • "qty": "string",
  • "notes": "string",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "customPropertiesListing": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Replaces the product_product_components resource.

Replaces the product_product_components resource.

Authorizations:
JWT
path Parameters
id
required
string

product_product_components identifier

Request Body schema:
required

The updated product_product_components resource

deletedAt
string <date-time>

// @todo Remove delete_status mapping on a standard level OR add delete_status to DB

object (products.jsonld-post)

Product.

object (products.jsonld-post)

Product.

qty
string
notes
string or null
slug
required
string

DB Identifier

customData
Array of strings or null
disabledAt
string or null <date-time>

Responses

Request samples

Content type
{
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "product": {
    },
  • "component": {
    },
  • "qty": "string",
  • "notes": "string",
  • "slug": "string",
  • "customData": [
    ],
  • "disabledAt": "2019-08-24T14:15:22Z"
}

Response samples

Content type
{
  • "@context": "string",
  • "@id": "string",
  • "@type": "string",
  • "shortcode": "AAC",
  • "deletedAt": "2019-08-24T14:15:22Z",
  • "product": {
    },
  • "component": {
    },
  • "qty": "string",
  • "notes": "string",
  • "id": 0,
  • "slug": "string",
  • "customProperties": null,
  • "customData": [
    ],
  • "createdAt": "2019-08-24T14:15:22Z",
  • "updatedAt": "2019-08-24T14:15:22Z",
  • "disabledAt": "2019-08-24T14:15:22Z",
  • "toString": "string",
  • "customPropertiesListing": "string",
  • "anonymousToken": "string",
  • "uniqueId": "string",
  • "taggingListing": "string",
  • "enabled": true,
  • "disabled": true
}

Removes the product_product_components resource.

Removes the product_product_components resource.

Authorizations:
JWT
path Parameters
id
required
string

product_product_components identifier

Responses